import request from '@/utils/request'

// 点击树节点获取数据
export function list(data) {
  return request({
    //url: '/archive/dispose/list?pageNum=' + data.pageNum + "&pageSize=" + data.pageSize,
    url: '/archive/destroyKu/destroyKuList?pageNum=' + data.pageNum + "&pageSize=" + data.pageSize,
    method: 'POST',
    data: data

  })
}

// 加入销毁申请单
export function addDestruKu(data) {
    console.log(data)
  return request({
    url: '/archive/destroyKu/addCar',
    method: 'POST',
    data: data

  })
}

// 删除销毁库数据
export function deleteDa(data) {
    console.log(data)
    return request({
        url: '/archive/destroyKu/destroyDel',
        method: 'POST',
        data: data

    })
}
